﻿<UserControl x:Class="LightningTools.BCSTesterMan.View.EntityDetailView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:ViewModel1="clr-namespace:LightningTools.BCSTesterMan.ViewModel;assembly=LightningTools.BCSTesterMan.ViewModel" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
	<StackPanel d:DataContext="{d:DesignInstance {x:Type ViewModel1:MainWindowViewModel}}">
		<GroupBox Header="External Content Type Details">
			<Grid>
				<Grid.RowDefinitions>
					<RowDefinition Height="auto" />
					<RowDefinition Height="auto" />
					<RowDefinition Height="auto" />
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="auto" />
					<ColumnDefinition Width="auto" />
				</Grid.ColumnDefinitions>
				<Label Content="Name" FontWeight="Black" Grid.Row="0" Grid.Column="0" />
				<TextBlock TextWrapping="Wrap" Text="{Binding ActiveEntity.Name}" Grid.Row="0" Grid.Column="1" VerticalAlignment="Center" />
				<Label Content="Namespace" FontWeight="Black" Grid.Row="1" Grid.Column="0" />
				<TextBlock TextWrapping="Wrap" Text="{Binding ActiveEntity.Namespace}" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" />
				<Label Content="Version" FontWeight="Black" Grid.Row="2" Grid.Column="0" />
				<TextBlock TextWrapping="Wrap" Text="{Binding ActiveEntity.Version}" Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" />
			</Grid>
		</GroupBox>
		<GroupBox Header="Model" VerticalAlignment="Top">
			<TextBlock Text="{Binding ActiveEntity.Model}" />
		</GroupBox>
	</StackPanel>
</UserControl>